package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 培训文件表【此表暂时不用】
 * </p>
 *
 * @author hpiggy
 * @since 2025-08-06
 */
@TableName("skill_sports_files")
@ApiModel(value = "SkillSportsFiles对象", description = "培训文件表【此表暂时不用】")
public class SkillSportsFiles implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("对应cultivate_sports表id")
    private Long sportsId;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("文件大小kb")
    private Integer fileSize;

    @ApiModelProperty("1上传文件，2是外链")
    private Integer type;

    @ApiModelProperty("上传的文件路径")
    private String filePath;

    @ApiModelProperty("文件链接【外链】")
    private String fileLink;

    @ApiModelProperty("0未审核，1审核通过，2审核不通过")
    private Integer status;

    private Long createdId;

    @ApiModelProperty("创建人id")
    private LocalDateTime createdAt;

    private Integer deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getSportsId() {
        return sportsId;
    }

    public void setSportsId(Long sportsId) {
        this.sportsId = sportsId;
    }
    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
    public Integer getFileSize() {
        return fileSize;
    }

    public void setFileSize(Integer fileSize) {
        this.fileSize = fileSize;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
    public String getFileLink() {
        return fileLink;
    }

    public void setFileLink(String fileLink) {
        this.fileLink = fileLink;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "SkillSportsFiles{" +
            "id=" + id +
            ", sportsId=" + sportsId +
            ", fileName=" + fileName +
            ", fileSize=" + fileSize +
            ", type=" + type +
            ", filePath=" + filePath +
            ", fileLink=" + fileLink +
            ", status=" + status +
            ", createdId=" + createdId +
            ", createdAt=" + createdAt +
            ", deleted=" + deleted +
        "}";
    }
}
